package vn.com.unit.springmvc.repo;

import java.util.List;

import vn.com.unit.springmvc.domain.AssetType;

public interface AssetTypeDao
{
    public AssetType findById(Long id);
    
    public AssetType findByCode(String code);

    public List<AssetType> findByName(String name);

    public List<AssetType> findAllOrderedByName();

    public void register(AssetType assetType);
    
    public void update(AssetType assetType);
    
    public void delete(Long id);
}
